package com.wumai.keystrokes.models.settings;

import com.google.gson.annotations.SerializedName;
import com.wumai.keystrokes.models.display.Key;

import java.util.List;

/**
 * @author  trick12138
 * @date  2025-08-20
 * @description 单个按键组配置模型
 */
public class KeyGroup {
    String name = "";
    @SerializedName("keys")
    List<Key> keys = null;

    public KeyGroup() {}

    public KeyGroup(String name, List<Key> keys) {
        this.name = name;
        this.keys = keys;
    }

    public List<Key> getKeys() {
        return keys;
    }

    public void setKeys(List<Key> keys) {
        this.keys = keys;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
